package cn.edu.java.object;

import java.util.ArrayList;
import java.util.List;

public class Test {
    public static void main(String[] args) {


        getData("name");//1
        getUperNumber(12);//2
        getUperNumber(23);//3

    }


    public static void getData(String string) {
        System.out.println("data :" + string);
    }

    public static void getUperNumber(Number data) {
        System.out.println("Number data :" + data);
    }
}
